//
//  HYYConst.swift
//  Hyy9Weibo
//
//  Created by Air on 16/3/28.
//  Copyright © 2016年 hyy. All rights reserved.
//

import UIKit


//自定义log，需要在building setting里搜索 preprocessor macros（oc），在搜索swift flag配置debug "-D" "DEBUG"
func HYYPrint(file:String = #file,line:Int = #line,function:String = #function, msg:Any){
    #if DEBUG
        print("\((file as NSString).lastPathComponent),[\(line)行],\(function):\(msg)")
    #endif
}

//写在类外面，全局都可以用

let HYYBaseURL = NSURL(string: "https://api.weibo.com/")

//MARK: - 授权登陆相关
/// 申请应用时分配的appkey
let client_id = "2889303614"
/// 申请应用时分配的AppSecret
let client_secret = "1360751ebba5f00c04893d56d7960556"
/// 授权回调地址
let redirect_uri = "http://hyy9.blogbus.com"

//MARK: - 
 /// 默认动画时间
let HYYDefaultDuration:NSTimeInterval = 0.25

 /// 新特性界面页数
let HYYNewFeatuerPageCount = 4

//MARK: - 微博cell相关
let HYYStatusCellMargin:CGFloat = 8

let HYYStatusCellButtonDefaultFontSize:CGFloat = 11

let HYYStatusCellContenSize:CGFloat = 14
